<div class="panel-header row">
    <div class="col-xs-8">
        <h2>Cập nhật username và password</h2>
    </div>
    <div class="col-xs-4" style="padding-bottom:5px;">
        <img class="col-xs-8" id="avatar"src="<?php echo base_url(); ?>img/avatar.jpg" alt="">
    </div>
</div>
<?php
$attributes = array('class' => 'form-horizontal');
echo form_open("thanhvien/thanhvien/update_self_Profile/" . $query['id']);
?>

<div class="panel panel-info">
    <div class="panel-heading">
        <h3 class="panel-title">Thông tin tài khoản</h3>
    </div>
    <div class="panel-body">
        <div class="form-group row">
            <div class="col-xs-4">
                <label class="control-label" for="user_name">Username</label>
            </div>
            <div class="col-xs-6">
                <input type="text" id="username" Class="form-control" placeholder="Tên đăng nhập của bạn..."
                       name="username" value="<?php echo set_value('username'); ?>" />
                       <?php echo form_error('username', '<p class="text-danger" style="font-size:15px;">', '</p>'); ?>
            </div>
        </div>

        <div class="form-group row">
            <div class="col-xs-4">
                <label class="control-label" for="password">Password</label>
            </div>
            <div class="col-xs-6">
                <input type="password" id="password" Class="form-control" placeholder="Mật khẩu ..."
                       name="password" value="<?php echo set_value('password'); ?>" />
                       <?php echo form_error('password', '<p class="text-danger" style="font-size:15px;">', '</p>'); ?>
            </div>

        </div>
                
        
        <div class="form-group">
            <div class="col-xs-3"></div>
            <div class="col-xs-3">
                <button type="submit" class="btn btn-primary btn-sm btn-block">Thay đổi</button>
            </div>
            <div class="col-xs-2">
                <button type="reset" class="btn btn-default btn-sm btn-block">Hủy</button>
            </div>


        </div>
    </div>
</div>
<?php echo form_close(); ?>